package com.cho.core.vo;

import java.util.List;

public class TableVo {
	private String projectName = "";
	private String fileSeq;
	private int tableSeq;
	private String tableName = "";
	private String tableFullName = "";
	private String crudType;
	private List<String> crudTypes;
	private String dbLinkName;
	private String sourceLine;
	private String orderBy;

	/*
	 * private String projectName; private int fileSeq; private String fileName;
	 * private String filePath;
	 */
	public TableVo() {
	};

	public TableVo(String projectName, String fileSeq, int tableSeq,
			String tableName, String crudType, String dbLinkName,
			String sourceLine) {
		super();
		this.projectName = projectName;
		this.fileSeq = fileSeq;
		this.tableSeq = tableSeq;
		this.tableName = tableName;
		this.crudType = crudType;
		this.dbLinkName = dbLinkName;
		this.sourceLine = sourceLine;
	}

	public TableVo(String projectName, String tableName, List<String> crudTypes) {
		super();
		this.projectName = projectName;
		this.tableName = tableName;
		this.crudTypes = crudTypes;
	}

	public TableVo(String projectName, String fileSeq) {
		super();
		this.projectName = projectName;
		this.fileSeq = fileSeq;
	}

	public TableVo(String projectName, String tableFullName, String crudType,
			String orderBy) {
		super();
		this.projectName = projectName;
		this.tableFullName = tableFullName;
		this.crudType = crudType;
		this.orderBy = orderBy;
	}

	public List<String> getCrudTypes() {
		return crudTypes;
	}

	public void setCrudTypes(List<String> crudTypes) {
		this.crudTypes = crudTypes;
	}

	public TableVo(String projectName) {
		super();
		this.projectName = projectName;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getFileSeq() {
		return fileSeq;
	}

	public void setFileSeq(String fileSeq) {
		this.fileSeq = fileSeq;
	}

	public String getTableFullName() {
		return tableFullName;
	}

	public void setTableFullName(String tableFullName) {
		this.tableFullName = tableFullName;
	}

	public int getTableSeq() {
		return tableSeq;
	}

	public void setTableSeq(int tableSeq) {
		this.tableSeq = tableSeq;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getCrudType() {
		return crudType;
	}

	public void setCrudType(String crudType) {
		this.crudType = crudType;
	}

	public String getDbLinkName() {
		return dbLinkName;
	}

	public void setDbLinkName(String dbLinkName) {
		this.dbLinkName = dbLinkName;
	}

	public String getSourceLine() {
		return sourceLine;
	}

	public void setSourceLine(String sourceLine) {
		this.sourceLine = sourceLine;
	}

	public String getOrderBy() {
		return orderBy;
	}

	public void setOrderBy(String orderBy) {
		this.orderBy = orderBy;
	}

	@Override
	public String toString() {
		return "TableVo [projectName=" + projectName + ", fileSeq=" + fileSeq
				+ ", tableSeq=" + tableSeq + ", tableName=" + tableName
				+ ", crudType=" + crudType + ", crudTypes=" + crudTypes
				+ ", dbLinkName=" + dbLinkName + ", sourceLine=" + sourceLine
				+ ", orderBy=" + orderBy + "]";
	}

}
